#include "my_header.h"

typedef struct train_s{
    int length;
    char data[4096];
}train_t;

typedef struct client_s{
    int fd;
    char userName[1024];
    char pwd[1024];
    char cmd[1024];
}client_t;

int workCmd(int netFd);

int sendFile(int netFd,char *file);
int recvFile(int netFd);

int doCd(client_t *pclient);
int doLs(client_t *pclient);
int doPwd(client_t *pclient);
int doRm(client_t *pclient);
int doMkdir(client_t *pclient);
int doTree(client_t *pclient);
int doLl(client_t *pclient);
int doGet(client_t *pclient);
int doPut(client_t *pclient);
